<ul class="m_page" v-if="all > 0">
    <li v-if="(cur!=1) && (all>1)" class="pn" v-on:click="btnClick(--cur)" title="上一页">上一页</li>
    <li v-if="indexs[0] > 1"  v-on:click="btnClick(1)">1</li>
    <li v-if="indexs[0] > 1" class="dot">...</li>
    <li v-for="index in indexs"  v-bind:class="{ on: cur == index}" v-on:click="btnClick(index)">{{ index }}</li>
    <li v-if="indexs[indexs.length - 1] < all" class="dot">...</li>
    <li v-if="indexs[indexs.length - 1] < all" v-on:click="btnClick(all)">{{ all }}</li>
    <li v-if="(cur!=all) && (all>1)" v-on:click="btnClick(++cur)" class="pn" title="下一页">下一页</li>
    <li>共 {{ total }} 条记录</li>
</ul>
